home *** CD-ROM | disk | FTP | other *** search
/ Night Owl 9 / Night Owl CD-ROM (NOPV9) (Night Owl Publisher) (1993).ISO / 003a / modified.zip / MODFORM.TXT < prev    next >
Text File  |  1992-07-27  |  4KB  |  74 lines

  1.              ┌─────  Amiga Protracker Module Format  ─────┐
  2.              └────────────────────────────────────────────┘
  3.  
  4.  ┌──────┐┌─────┐┌───────────┐
  5.  │Offset││Bytes││Description│
  6. ┌┼──────┴┴─────┴┴───────────┴────────────────────────────────────────────────
  7. ││   0     20    Module name.  Padded with spaces until the end (or should
  8. ││                 be).  Remember to only print 20 characters.
  9. │├─Samples───────────────────────────────────────────────────────────────────
  10. ││  20( 0) 22    Sample Name.  Should be padded with nulls for the full
  11. ││                 length of it after the sample name.
  12. ││  42(22)  2    Sample Length.  Stored as an Amiga word which needs to be
  13. ││                 swapped on an IBM.  This word needs to be multiplied by
  14. ││                 two to get the real length.  If the initial length is
  15. ││                 greater than 8000h, then the sample is greater than 64k.
  16. ││  44(24)  1    Sample Finetune Byte.  This byte is the finetune value for the
  17. ││                 sample.  The upper four bits should be zeroed out.  The
  18. ││                 lower four are the fine tune value.
  19. ││                   Value ───── 0  1  2  3  4  5  6  7  8  9  A  B  C  D  E  F
  20. ││                   Finetune ── 0 +1 +2 +3 +4 +5 +6 +7 -8 -7 -6 -5 -4 -3 -2 -1
  21. ││  45(25)  1    Sample Volume.  The rangle is always 0-64.
  22. ││  46(26)  2    Sample Repeat.  Stored as an Amiga word.  Multiply this by
  23. ││                 two and add it to the beginning offset of the sample to get
  24. ││                 the repeat point.
  25. ││  48(28)  2    Sample Repeat Length.  Stored as an Amiga word.  Multiply this
  26. ││                 by two to get the Repeat Length.
  27. │├───────────────────────────────────────────────────────────────────────────
  28. ││          *** The remaining 14 or 30 samples follow this point ***
  29. ││          *** using the same format as above.  Note that the   ***
  30. ││          *** rest of this module format follows a 31 sample   ***
  31. ││          *** format, which is not different from the 15       ***
  32. ││          *** sample format except for the file offset.        ***
  33. │├───────────────────────────────────────────────────────────────────────────
  34. ││ 950      1    The Song Length in the range of 1 to 128.
  35. ││ 951      1    I don't know.  I was told that Noisetracker uses this byte
  36. ││                 for a restart, but I don't use Noisetracker.  Anyone have
  37. ││                 any information?
  38. ││ 952    128    Play Sequences 0-127.  These indicate the appropriate
  39. ││                 pattern to play at this given position.
  40. ││1080      4    If this position contains:   "M.K." or "FLT4" or "FLT8"
  41. ││                                              - the module is 31 ins.
  42. │├─Patterns──────────────────────────────────────────────────────────────────
  43. ││1084(0)   1    Upper 4 bits: MSB of the instrument.  Must be ORed with the
  44. ││                 LSB.  Lower 4 bits:  Upper 4 bits of the period.
  45. ││1085(1)   1    Contains the lower 8 bits of the period.
  46. ││1086(2)   1    Upper 4 bits: LSB of the instrument.  Must be ORed with the
  47. ││                 MSB.  Lower 4 bits: Special effects command.  Contains a
  48. ││                 command 0-F.
  49. ││1087(3)   1    Special effects data.
  50. │├───────────────────────────────────────────────────────────────────────────
  51. ││          *** The number of patterns is the highest pattern    ***
  52. ││          *** number stored in the Play Sequence list.         ***
  53. │├───────────────────────────────────────────────────────────────────────────
  54. ││ Each note is four bytes long.  Four notes make up a track.  They are
  55. ││ stored like this:
  56. ││         0-3           4-7           8-11         12-15
  57. ││      Channel 1     Channel 2     Channel 3     Channel 4
  58. ││        16-19         20-23         24-27         28-31
  59. ││      Channel 1     Channel 2     Channel 3     Channel 4
  60. ││ ...and so on.
  61. ││
  62. ││
  63. ││
  64. ││                  00           00           00           00
  65. ││                  ||           ||           ||           ||
  66. ││                  /\           //           /\           \\
  67. ││  MSB of Ins.   Note        LSB Ins. Spec. Com.   Data for special
  68. ││
  69. ││ The samples immediately follow.
  70. ││
  71. └┴───────────────────────────────────────────────────────────────────────────
  72.  
  73.  
  74.